package com.obtk.property.service.impl;

import com.obtk.property.dao.CategoryMapper;
import com.obtk.property.pojo.Category;
import com.obtk.property.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {

   @Autowired
   private CategoryMapper categoryMapper;

    @Override
    public List<Category> getCategory() {
        return categoryMapper.getCategory();
    }
}
